package io.renren.modules.pms.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单明细表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2024-08-14 21:14:04
 */
@Data
@TableName("pms_order_item")
public class OrderItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单项ID
	 */
	@TableId
	private Long itemId;
	/**
	 * 订单ID
	 */
	private Long orderId;
	/**
	 * 商品ID
	 */
	private Long goodsId;
	/**
	 * 商品数量
	 */
	private Integer quantity;
	/**
	 * 商品单价
	 */
	private BigDecimal price;

}
